package wqh.dao;

import wqh.domain.WaterChannelAlarm;

import java.util.List;

/**
 * Created by wqh on 2017/1/19.
 */
public interface WaterChannelAlarmDao extends Dao<WaterChannelAlarm> {

    public List<WaterChannelAlarm> findByDeviceIdAndChannelNumber(Long device_id,Integer channel_number);

    public void deleteByDeviceIdAndChannelNumber(Long device_id,Integer channel_number);

    public Long countByTimeRange(Integer start, Integer end);

}
